package com.learning.walter.pattern.factory.simple;

import com.learning.walter.pattern.factory.model.BurnKiss;
import com.learning.walter.pattern.factory.model.HotGluten;
import com.learning.walter.pattern.factory.model.HotStrip;
import com.learning.walter.pattern.factory.model.LaFanTian;
import com.learning.walter.pattern.factory.model.WeiLong;

public class HotStripSimpleFactory {

	public static HotStrip getInstance(String name){
		switch(name){
		case "火爆鸡筋":
			return new HotGluten();
		case "亲嘴烧":
			return new BurnKiss();
		case "卫龙":
			return new WeiLong();
		case "辣翻天":
			return new LaFanTian();
		default :
			return null;
		}
	}
}
